<?php
    require_once '../clases/conexion.php';
    $con = new MySQL;
    $sql = "update sistema set transaccion = transaccion + 1";
    $result = $con->consulta($sql);
    $sql = "select transaccion from sistema";
    $result = $con->consulta($sql);
    $transaccion = mysql_result($result, 0,"transaccion");
?>
